<template>
  <div class="hello">
    <h1>{{ msg }}</h1>
    <up6
    :config="{UrlCreate:'http://localhost:4955/db/f_create.aspx',UrlPost:'http://localhost:4955/db/f_post.aspx',UrlProcess:'http://localhost:4955/db/f_process.aspx',UrlComplete:'http://localhost:4955/db/f_complete.aspx',UrlDel:'http://localhost:4955/db/f_del.aspx',UrlFdCreate:'http://localhost:4955/db/fd_create.aspx',UrlFdComplete:'http://localhost:4955/db/fd_complete.aspx',UrlFdDel:'http://localhost:4955/db/fd_del.aspx',UrlList:'http://localhost:4955/db/f_list.aspx',License2:'',FileFilter:'*'}"
    :fields="{uid:0}"
    @md5_complete="up6_md5_complete"
    @scan_complete="up6_scan_complete"
    @file_complete="up6_file_complete"
    @folder_complete="up6_folder_complete"
    @queue_complete="up6_queue_complete"/>
  </div>
</template>

<script>
import up6 from '@/components/up6'
export default {
  name: 'HelloWorld',
  components: {up6},
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  methods: {
    up6_md5_complete (obj, md5) {
      // 文件MD5验证完毕事件
    },
    up6_scan_complete (obj) {
      // 文件夹扫描完毕事件
    },
    up6_file_complete (obj) {
      // 文件上传完毕事件
    },
    up6_folder_complete (obj) {
      // 文件夹上传完毕事件
    },
    up6_queue_complete (obj) {
      // 队列上传完毕事件
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h1, h2 {
  font-weight: normal;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
